import request from '@/utils/request'

// 所总工时
export function queryLineChartsOne(query) {
    return request({
        // url: '/statistics/work/dept/suo',
        url: '/statistics/composite/dept/suo',
        method: 'post',
        params: query
    })
}

// 科室总工时
export function queryOffice(query) {
    return request({
        // url: '/statistics/work/dept/shi',
        url: '/statistics/composite/dept/shi',
        method: 'post',
        params: query
    })
}
//所平均工时
export function queryDeptAvgLineCharts(query) {
    return request({
        // url: '/statistics/work/dept/ave/suo',
        url: '/statistics/composite/dept/ave/suo',
        method: 'post',
        params: query
    })
}
//科室平均工时
export function queryOfficeAvgLineCharts(query) {
    return request({
        // url: '/statistics/work/dept/ave/shi',
        url: '/statistics/composite/dept/ave/shi',
        method: 'post',
        params: query
    })
}

//人员总工时
export function queryPeopleLineCharts(query) {
    return request({
        // url: '/statistics/work/dept/people',
        url: '/statistics/composite/dept/people',
        method: 'post',
        params: query
    })
}

//人员工作饱和度
export function queryPeopleAvgLineCharts(query) {
    return request({
        // url: '/statistics/work/dept/avg/people',
        url: '/statistics/composite/dept/avg/people',
        method: 'post',
        params: query
    })
}

//人员工作量曲线
export function queryPeopleTotalLineCharts(query) {
    return request({
        // url: '/statistics/work/total/line/people',
        url: '/statistics/composite/total/line/people',
        method: 'post',
        params: query
    })
}


//人员工作饱和度曲线
export function queryPeopleLineAvgCharts(query) {
    return request({
        // url: '/statistics/work/avg/line/people',
        url: '/statistics/composite/avg/line/people',
        method: 'post',
        params: query
    })
}

// 查询 日常任务 分配列表
export function listProcess(query) {
    return request({
      url: '/statistics/work/process/list',
      method: 'get',
      params: query
    })
  }
  
// 查询 项目任务 分配列表
export function listProject(query) {
return request({
    url: '/statistics/work/project/list',
    method: 'get',
    params: query
})
}

// 查询 待办工作统计信息
export function waitWorkStatistics(query) {
return request({
    url: '/statistics/work/statistics',
    method: 'get',
    params: query
})
}

// 查询 日常任务 分配列表 - 质量问题
export function listQualityProcess(query) {
    return request({
        url: '/statistics/work/process/quality/list',
        method: 'get',
        params: query
    })
}
  // 查询 待办工作统计信息 - 质量问题
export function qualityStatistics(query) {
    return request({
        url: '/statistics/work/quality/statistics',
        method: 'get',
        params: query
    })
}


